attributeerror: 'dict' object has no attribute 'value'